<%@page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page isELIgnored="true"%>
<%@taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>
<%@taglib tagdir="/WEB-INF/tags/widget" prefix="w" %>

<layout:page title="Teste">
	<jsp:attribute name="extraHeader">
	<script type="text/javascript">
	$(function() {
		$("#teste").click(function() { 
			$("#form").submit();
			return false;
		} );
	});
	</script>
	</jsp:attribute>
	<jsp:body>
		<div class="login">
		<div class="loginFormulario">
		<w:commandLink styleClass="" value="Login" pagina="login.jsp" title="Faz o Login"/>
		<form action="SolicitarReservaAmbiente" method="post" id="form">
		<input type="hidden" name="comando" value="listarAmbientes" />
		<a href="#" id="teste">Visualizar Calendario</a>
		</form>
		</div>
		</div>
		<layout:feed/>
	</jsp:body>
</layout:page>